Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

job-builder: add amazon-ecr-credential-helper to the job builder #723

Merged
merged 3 commits into from
Feb 22, 2022

Conversation

tpalashki
Copy link
Contributor

The rootless job builder is based on an image that does not contain
the amazon-ecr-credential-helper utility. This utility is necessary
to authenticate against ECR when pushing data job images.

This commit adds the amazon-ecr-credential-helper utility to the job-builder
image by pulling it and building it locally from source. Maybe there is
a better way of provisioning it but I could not find it out.

Testing done: manually build and push a job-builder image with the change,
then create a k8s job with this image and run it to verify that it manages
to successfully push data job images to ECR.

Signed-off-by: Tsvetomir Palashki [email protected]

The rootless job builder is based on an image that does not contain
the amazon-ecr-credential-helper utility. This utility is necessary
to authenticate against ECR when pushing data job images.

This commit adds the amazon-ecr-credential-helper utility to the job-builder
image by pulling it and building it locally from source. Maybe there is
a better way of provisioning it but I could not find it out.

Testing done: manually build and push a job-builder image with the change,
then create a k8s job with this image and run it to verify that it manages
to successfully push data job images to ECR.

Signed-off-by: Tsvetomir Palashki <[email protected]>
@mivanov1988
Copy link
Collaborator

LGTM

@mivanov1988
Copy link
Collaborator

Please increment the builder version.

Signed-off-by: Tsvetomir Palashki <[email protected]>
@mivanov1988 mivanov1988 enabled auto-merge (squash) February 22, 2022 09:03
@mivanov1988 mivanov1988 merged commit 4109615 into main Feb 22, 2022
@mivanov1988 mivanov1988 deleted the person/tpalashki/job-builder branch February 22, 2022 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants